package com.周阳.装饰者;

/**
 * 装饰器：瘦腰
 */
public class SYDecotor implements TiktokDecorator{


    private ManTikTok manTikTok;

    public SYDecotor(ManTikTok manTikTok) {
        this.manTikTok = manTikTok;
    }

    @Override
    public void tiktok() {

        /**
         * 开启瘦腰
         */
        manTikTok.tiktok();
        /**
         * 后置增强
         */
        enable();


    }

    @Override
    public void enable() {
        System.out.println("我开启瘦腰装饰器");
        System.out.println("气球气球......好多气球");
    }
}
